package com.gopay.common.domain.gsrt.vo;

import java.util.Date;

import com.gopay.common.domain.BaseEntity;

/**
 * 
 * @Description: 签约VO
 * @author hougn
 * @date 2016年2月23日 下午7:00:16 
 *
 */
public class GsrtCustSigned01900VO extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    // 状态标识位
    public enum RequestType {
        REGISTER("01", "注册并签约"), SIGN("02", "签约");

        private String code;
        private String name;

        private RequestType(String code, String name) {
            this.name = name;
            this.code = code;
        }

        public String getCode() {
            return code;
        }

        public String getName() {
            return name;
        }

        public static String getNameByCode(String code) {
            if (code == null) {
                return null;
            }
            for (RequestType flag : RequestType.values()) {
                if (flag.getCode().equals(code)) {
                    return flag.name;
                }
            }
            return null;
        }
    }
    
     /** 
     * 交易流水号
     */
    private Long transDtlSq;

    /** 
     * 商户编号
     */
    private String merId;

    /** 
     * 商户订单号
     */
    private String merOrderId;

    /** 
     * 商户交易时间
     */
    private Date merTxnTm;


    /** 
     * 网关通道
    00 - 未经网关
    01 - 直连银行
    02 - 网关收银台
    03 - 网关接口
    
     */
    private String gatewayChannel;

    /** 
     * 网关版本号
     */
    private String gatewayVersion;

    /** 
     * 协议号
     */
    private String contractNo;

    /** 
     * P2P客户ID
     */
    private String merRemark1;

    /** 
     * 商户备注信息2
     */
    private String merRemark2;

    /** 
     * 商户备注信息3
     */
    private String merRemark3;

    /** 
     * 签约类别
     */
    private String merRemark4;

    /** 
     * 商户备注信息5
     */
    private String merRemark5;
    
    /** 
     * 用户姓名
     */
    private String custName;

    /** 
     * 证件号码
     */
    private String certNo;
    
    /** 
     * 企业名称
     */
    private String corpName;
    
    /**
     * 证件类型
     */
    private String certType;

    /** 
     * 客户类型 01 个人 ； 02企业
     */
    private String userType;
    
    /** 支付密码 */
    private String password;
    
    /** 电话或邮箱 */
    private String userName;
    
    /**
     * 客户id
     */
    private String custId;
    
    /**
     * 请求类型
     */
    private String requestType;
    
    /**
     * 个人注册类型
     */
    private String regType;
    
    /**
     * 证件路径
     */
    private String certFileUrl;
    
    /**
     * 证件背面路径
     */
    private String certBackFileUrl;
    
    /** 
     * 平台签约账户
     */
    private String trustAcct;

    /**
     * 用户 来源  way  pc
     */
    private String gatewaySource;
    
    /**
     * 手机支付密码
     */
    private String mtPayPwd;

    public Long getTransDtlSq() {
        return transDtlSq;
    }

    public void setTransDtlSq(Long transDtlSq) {
        this.transDtlSq = transDtlSq;
    }

    public String getMerId() {
        return merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }

    public String getMerOrderId() {
        return merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    public Date getMerTxnTm() {
        return merTxnTm;
    }

    public void setMerTxnTm(Date merTxnTm) {
        this.merTxnTm = merTxnTm;
    }

    public String getGatewayChannel() {
        return gatewayChannel;
    }

    public void setGatewayChannel(String gatewayChannel) {
        this.gatewayChannel = gatewayChannel;
    }

    public String getGatewayVersion() {
        return gatewayVersion;
    }

    public void setGatewayVersion(String gatewayVersion) {
        this.gatewayVersion = gatewayVersion;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getMerRemark1() {
        return merRemark1;
    }

    public void setMerRemark1(String merRemark1) {
        this.merRemark1 = merRemark1;
    }

    public String getMerRemark2() {
        return merRemark2;
    }

    public void setMerRemark2(String merRemark2) {
        this.merRemark2 = merRemark2;
    }

    public String getMerRemark3() {
        return merRemark3;
    }

    public void setMerRemark3(String merRemark3) {
        this.merRemark3 = merRemark3;
    }

    public String getMerRemark4() {
        return merRemark4;
    }

    public void setMerRemark4(String merRemark4) {
        this.merRemark4 = merRemark4;
    }

    public String getMerRemark5() {
        return merRemark5;
    }

    public void setMerRemark5(String merRemark5) {
        this.merRemark5 = merRemark5;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getRegType() {
        return regType;
    }

    public void setRegType(String regType) {
        this.regType = regType;
    }

    public String getCertFileUrl() {
        return certFileUrl;
    }

    public void setCertFileUrl(String certFileUrl) {
        this.certFileUrl = certFileUrl;
    }

    public String getCertBackFileUrl() {
        return certBackFileUrl;
    }

    public void setCertBackFileUrl(String certBackFileUrl) {
        this.certBackFileUrl = certBackFileUrl;
    }

    public String getTrustAcct() {
        return trustAcct;
    }

    public void setTrustAcct(String trustAcct) {
        this.trustAcct = trustAcct;
    }

	public String getGatewaySource() {
		return gatewaySource;
	}

	public void setGatewaySource(String gatewaySource) {
		this.gatewaySource = gatewaySource;
	}

	public String getMtPayPwd() {
		return mtPayPwd;
	}

	public void setMtPayPwd(String mtPayPwd) {
		this.mtPayPwd = mtPayPwd;
	}
}
